import java.lang.reflect.Array;
import java.util.Arrays;

/**
 * ClassName: Sort
 * Package: PACKAGE_NAME
 *
 * @Author 马学兴
 * @Create 2025-02-13 14:00
 * @Version 1.0
 * Description:
 */
public class Sort {
    public static void main(String[] args) {
        int[] str={1, 8, 5, 2, 4, 9, 7, 2, 5, 7, 7, 9};
        Arrays.sort(str);
        System.out.println(Arrays.toString(str));
    }
}
